package com.whmskj.xjlhsc.mapper;

import com.whmskj.xjlhsc.mobie.equipmentManage.entity.vo.DeviceEnergyAndYieldVo;
import com.whmskj.xjlhsc.mobie.equipmentManage.entity.vo.MachineComparisonVO;
import com.whmskj.xjlhsc.mobie.equipmentManage.entity.vo.ProductionCapacityVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

@Mapper
public interface MachineComparisonMapper {
    List<ProductionCapacityVo> machineComparison(@Param(value = "mesId") Integer mesId,
                                                 @Param(value = "mesId2") Integer mesId2,
                                                 @Param("start") LocalDate start, @Param("end") LocalDate end);

    List<DeviceEnergyAndYieldVo> selectDeviceEnergyAndYield(@Param(value = "mesId") Integer mesId,
                                                            @Param(value = "mesId2") Integer mesId2,
                                                            @Param("start") LocalDate start,
                                                            @Param("end") LocalDate end);
}
